package presenter;

import model.GuiData;
import model.LogData;
import model.MapData;
import view.ILogView;
import view.IMapView;

public class LogPresenter implements ILogPresenter{

private ILogView currentView;
	
	public LogPresenter(ILogView view) {
		
		currentView = view;
	}
	
	@Override
	public void InitializeLog() {
		
		GuiData guiData = GuiData.getInstance();
		
		LogData viewData = LogData.getInstance();
		viewData.setLogWindowWidth(guiData.getMainWindowWidth() / 2);
		viewData.setLogWindowHeight(guiData.getMainWindowHeight() / 4);
		
		currentView.InitializeView(viewData);
	}

}
